package com.weiqiao.api.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * @author ChenYF
 * @Description
 * @Date 2020/7/30 17:00
 */
@Data
public class QRCodeVO {

    @ApiModelProperty("公司id")
    @Min(value = 1, message = "公司id不能为空")
    private int company_id;

    @ApiModelProperty("用户id")
    @Min(value = 1, message = "用户id不能为空")
    private int user_id;

    @ApiModelProperty("二维码类型：0：商品分享 1：招募合伙人")
    @NotBlank(message = "二维码类型不能为空")
    private String qrcode_type;

    @ApiModelProperty("商品id")
    private String commodity_id;

    @ApiModelProperty("商品类型: 0：信用卡商品 1：积分兑换商品")
    private Integer commodity_type;
}
